package com.cy.train.business.service;

import com.cy.train.business.domain.TrainSeat;
import com.cy.train.business.req.TrainSeatQueryReq;
import com.cy.train.business.req.TrainSeatSaveReq;
import com.cy.train.business.resp.TrainSeatQueryResp;
import com.cy.train.common.resp.PageResp;

import java.util.List;

public interface TrainSeatService {
    void save(TrainSeatSaveReq req);

    PageResp<TrainSeatQueryResp> queryList(TrainSeatQueryReq req);

    void delete(Long id);

    public void generateTrainSeat(String trainCode);

    List<TrainSeat> queryTrainSeatByCode(String trainCode);
}